package com.foxzzz.datamemory.entity;


import lombok.Data;


import javax.persistence.*;
import java.io.FileInputStream;
import java.io.InputStream;
import java.sql.Blob;
import java.util.Date;

@Entity
@Data
public class BlobSave {
    @Id
    private String blobSaveId;
    @Lob
    @Basic(fetch = FetchType.LAZY)
    @Column(columnDefinition = "CLOB", nullable = true)
    private Blob blob;

    private Date dateCreate;
    private String fileName;


}
